package com.yunxi.sto.pojo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 车辆移库
 * </p>
 *
 * @author caoYong
 * @since 2019-05-28
 */
@Data
@ApiModel(value="StoChangeStorage对象", description="车辆移库")
public class StoChangeStorageVO implements Serializable {

    @ApiModelProperty(value = "主键ID")
    private String changeStorageId;

    @ApiModelProperty(value = "组织代码")
    private String orgCode;

    @ApiModelProperty(value = "移库单号")
    private String changeStorageNo;

    @ApiModelProperty(value = "车辆VIN码")
    private String vin;

    @ApiModelProperty(value = "单据状态(ChangeStorageBill_state,0 新1移库进行中,2 移库完成,3 作废)")
    private String billState;

    @ApiModelProperty(value = "所属仓库名称")
    private String storageName;

    @ApiModelProperty(value = "老库位")
    private String oldStorageCode;

    @ApiModelProperty(value = "新库位")
    private String newStorageCode;

    @ApiModelProperty(value = "RFID号/移库司机")
    private String rfidNo;

    @ApiModelProperty(value = "创建时间")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    private String updateBy;

    @ApiModelProperty(value = "是否作废1是0否")
    private Integer isDel;

    @ApiModelProperty(value = "移库原因")
    private String changeReason;

    @ApiModelProperty(value = "车系名")
    private String seriesName;

    @ApiModelProperty(value = "车型名")
    private String modelName;

    @ApiModelProperty(value = "配置名")
    private String catalogName;

    @ApiModelProperty(value = "内饰颜色名")
    private String colorNameIn;

    @ApiModelProperty(value = "外饰颜色名")
    private String colorNameOut;

    @ApiModelProperty(value = "当前库位名称")
    private String oldStorageName;

    @ApiModelProperty(value = "目标库位名称")
    private String newStorageName;

}
